<?php
/**
 * Description of Session
 *
 * @author Gvozd
 */
class Session {
    public $settings = array();
    function __construct($settings = array()) {
        $cookiefile = tempnam(ABSPATH . 'tmp', 'session');
        $this->settings[CURLOPT_COOKIEFILE] = $cookiefile;
        $this->settings[CURLOPT_COOKIEJAR]  = $cookiefile;
        foreach($settings as $key => $val) {
            $this->settings[$key] = $val;
        }
    }
    function getSettings() {
        return $this->settings;
    }
    
}

?>
